package com.yzd.learnjava.io;

import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;

import com.yzd.learnjava.util.Print;

public class FormattedMemoryInput {
	public static void main(String[] args) throws IOException {
		DataInputStream in = new DataInputStream(new ByteArrayInputStream(
				BufferedInputFile.read("D:\\src\\git\\java\\javalearn\\src\\com\\yzd\\learnjava\\util\\PPrint.java").getBytes()));
		while(true) {
			Print.print((char)in.readByte());
		}
	}
}
